popover: Make it possible to constrain to toplevel
authorMatthias Clasen <mclasen@redhat.com>
Tue, 1 Dec 2015 19:56:56 +0000 (14:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 1 Dec 2015 22:26:25 +0000 (17:26 -0500)
commite626038467f2d10db56e0c193e293e0108c5a255
tree1d5f302a50fd0b10d75b3505c3b893bd2067b6eb
parent5dcf4e10b7769119651151dc8a598f3286064857
popover: Make it possible to constrain to toplevel

Under X11, popovers are always constrained to the toplevel
window. Under Wayland, they aren't. This commit adds a
property that allows to explicitly constrain popovers to
the toplevel, giving them the same behavior under Wayland
as under X11.

https://bugzilla.gnome.org/show_bug.cgi?id=757474
docs/reference/gtk/gtk3-sections.txt
gtk/gtkenums.h
gtk/gtkpopover.c
gtk/gtkpopover.h